Skip to content

Adapt employment-legal plugin for UK law#1

Closed
paulieb89 wants to merge 4 commits into
mainfrom
adapt/employment-legal-uk
Closed

Adapt employment-legal plugin for UK law#1
paulieb89 wants to merge 4 commits into
mainfrom
adapt/employment-legal-uk

Conversation

@paulieb89
Copy link
Copy Markdown

Summary

  • Replaces all US legal framework references (FLSA/FMLA/WARN/OWBPA/at-will/Westlaw/CourtListener) with UK equivalents across 19 files
  • Wires in 6 UK MCP servers: uk-legal, BAILII, govuk, uk-due-diligence, whatdotheyknow, property-shared
  • Adapts jurisdiction model from 50-state US to England & Wales / Scotland / Northern Ireland

Files changed

File Change type
.mcp.json UK MCP servers
skills/termination-review Full rewrite — ERA/TULRCA/EqA/ACAS/ET/SRP/Settlement Agreement
skills/hiring-review Full rewrite — RTW checks, IR35, ERA s.1, EqA s.60, DBS, PTRs
skills/wage-hour-qa Full rewrite — NMW/NLW, WTR holiday pay, ET s.23, 52-week ref period
skills/worker-classification Full rewrite — employee/worker/limb(b)/self-employed, IR35 SDN
skills/policy-drafting Full rewrite — ACAS Code, MPL Regs, UK GDPR, PIDA, Modern Slavery Act
agents/leave-tracker Full rewrite — SML/SPL/SAL/ShPL/PBL/EqA s.20
skills/cold-start-interview E&W/Scotland/NI footprint, UK escalation triggers
skills/handbook-updates Jurisdiction supplements, constructive dismissal risk
skills/log-leave UK statutory leave types, 28-day employer response
skills/customize DBS policy, jurisdiction supplements
skills/internal-investigation EEOC/DFEH → ET/EHRC/ICO
skills/international-expansion UK parent entity, UK data transfer direction
skills/investigation-open/memo UK city example, legal professional privilege
skills/matter-workspace English law governing example
CLAUDE.md Citation tags, reviewer note format, FLSA→TULRCA example, EEOC→ET/ACAS/EHRC escalation, jurisdiction footprint labels
README.md UK statutory leave, E&W/Scotland/NI nations model

Status

Not ready to merge — needs dogfooding before main. See PR comments for proposed eval plan.

🤖 Generated with Claude Code

paulieb89 and others added 4 commits May 18, 2026 02:42
Full re-jurisdictioning of the employment-legal plugin for UK practice.
All US legal framework references replaced with UK equivalents throughout
19 files (skills, agents, connectors, practice profile template, README).

Key changes:
- .mcp.json: replace Slack/Drive connectors with uk-legal, BAILII, govuk,
  uk-due-diligence, whatdotheyknow, and property-shared MCP servers
- termination-review, hiring-review, wage-hour-qa, worker-classification,
  policy-drafting: full rewrites — ERA/TULRCA/EqA/WTR/NMW replacing
  FLSA/FMLA/WARN/OWBPA/at-will; ACAS Code; ET claims; DBS/RTW checks;
  IR35/off-payroll; SRP formula; Settlement Agreement (ERA s.203)
- leave-tracker agent: SML/SPL/SAL/ShPL/PBL replacing FMLA/CFRA/USERRA/ADA;
  28-day employer response, ShPL booking notice, KIT/SPLIT days
- cold-start-interview, handbook-updates, log-leave, customize,
  internal-investigation: targeted edits — E&W/Scotland/NI jurisdiction
  model, UK citation tags, ET/EHRC/ICO escalation triggers
- international-expansion: UK parent entity, UK data transfer direction,
  UK companies framing
- CLAUDE.md template: CourtListener → uk-legal MCP/BAILII; FLSA example →
  TULRCA s.188; exempt/non-exempt → employee/worker/self-employed;
  California row → NI; EEOC/DOL → ET/ACAS/EHRC/ICO; jurisdiction footprint
  → E&W/Scotland/NI nations model
- README: leave agent updated to UK statutory leave types; notes updated to
  UK jurisdiction model

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Update plugin description to reflect UK jurisdiction model, replacing
"controlling state test" and "state supplements" with UK equivalents.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wires up all four standard hook events (SessionStart, UserPromptSubmit,
PreToolUse, PostToolUse) to scripts/hook-announce.sh, mirroring the
hello-hooks pattern. Prints event name to stderr and appends full JSON
payload to last-event.log during test sessions.

last-event.log added to .gitignore.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
${PLUGIN_ROOT} is substituted in the command string by Goose but is not
exported as an env var — so references to $PLUGIN_ROOT inside the script
resolved to empty, causing log writes to fail with permission denied.

Fix the script to derive PLUGIN_DIR via dirname "$0" (works regardless of
what the runtime exports). Fix the command path to use $HOME/.agents/...
(shell-expanded, works in both Goose and Claude Code).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@paulieb89
Copy link
Copy Markdown
Author

Superseded — all 11 UK plugins (including employment-legal-uk) are now on main via the full UK suite commit. Upstream contribution open as anthropics#46.

@paulieb89 paulieb89 closed this May 18, 2026
@paulieb89 paulieb89 deleted the adapt/employment-legal-uk branch May 18, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant